using System;
using Geekees.App.Cashbook.Lib.Helper;

namespace Geekees.App.Cashbook.Lib.Entity
{
	/// <summary>
	/// Summary description for User.
	/// </summary>
	public class User
	{
		public User()
		{
			
		}

		private int _id;
		private string _login;
		private string _pwd;
		private DateTime _creationTime;
		private DateTime _lastLoginTime;
		private DateTime _lastChangePasswordTime;
		private string _name;
		private string _ticket;
		private WindowsTimeZone _timeZone;

		#region properties

		public int Id
		{
			get
			{
				return _id;
			}
			set
			{
				_id = value;
			}
		}

		public string Login
		{
			get
			{
				return _login;
			}
			set
			{
				_login = value;
			}
		}

		public string Pwd
		{
			get
			{
				return _pwd;
			}
			set
			{
				_pwd = value;
			}
		}

		public DateTime CreationTime
		{
			get
			{
				return _creationTime;
			}
			set
			{
				_creationTime = value;
			}
		}

		public DateTime LastLoginTime
		{
			get
			{
				return _lastLoginTime;
			}
			set
			{
				_lastLoginTime = value;
			}
		}

		public DateTime LastChangePasswordTime
		{
			get
			{
				return _lastChangePasswordTime;
			}
			set
			{
				_lastChangePasswordTime = value;
			}
		}

		public string Name
		{
			get
			{
				return _name;
			}
			set
			{
				_name = value;
			}
		}

		public string Ticket
		{
			get
			{
				return _ticket;
			}
			set
			{
				_ticket = value;
			}
		}

		public WindowsTimeZone TimeZone
		{
			get
			{
				return _timeZone;
			}
			set
			{
				_timeZone = value;
			}
		}

		#endregion
	}
}
